package com.tougutips.modules.user.followers.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName followers
 */
@TableName(value ="followers")
@Data
@NoArgsConstructor
public class Followers implements Serializable {
    /**
     * 用户id
     */
    private Long followersId;

    /**
     * 用户关注的人的id
     */
    private Long beFollowedId;

    /**
     * 
     */
    private Date createtime;

    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public Followers(Long followersId, Long beFollowedId, Integer status) {
        this.followersId = followersId;
        this.beFollowedId = beFollowedId;
        this.status = status;
    }

}